const state = {
  isFullModel: false, // 是否全屏
}

const mutations = {
  // 根据登录人的信息修改 是否全屏
  CHANE_MODEL(state, isFullModel) {
    state.isFullModel = isFullModel
  }
}

const actions = {
  // 根据登录人的信息修改 是否全屏
  changeModel({ commit }, isFullModel) {
    commit('CHANE_MODEL', isFullModel)
  }
}

// 将仓库导出
export default {
  namespaced: true,
  state,
  mutations,
  actions
}